const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/search",
  component: Layout,
  redirect: "/search/scan",
  meta: {
    icon: "scan2Fill",
    title: "扫描",
    rank: 3
  },
  children: [
    {
      path: "/search/scan",
      name: "ScanhHost",
      component: () => import("@/views/search/scanner.vue"),
      meta: {
        title: "端口服务扫描",
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }
  ]
};
